package com.itheima.service;

/**
 * ClassName: MsgService
 * Description:
 * Date: 2023/03/09 PM 11:48:20
 * <p>
 * project: springboot
 * package: com.itheima.service
 * email: 1085844536@qq.com
 * version:
 *
 * @author WangGuojian
 */
public interface MsgService {
    /**
     * 获取短信
     *
     * @param tele {@link String}
     * @return {@link String}
     */
    String get(String tele);

    /**
     * 验证
     *
     * @param tele {@link String}
     * @param code {@link String}
     * @return {@link Boolean}
     */
    boolean check(String tele, String code);
}
